home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 November / macformat-043.iso / mac / Shareware Plus / Developers / OpenStack Rinaldi Collection / openstack-rinaldi-lib / SetFolderFlag 1.0 (US) / SetFolderFlag 1.0 (US).rsrc / HELP_5635 < prev    next >
Encoding:
Text File  |  1996-01-09  |  2.2 KB  |  52 lines

  1.  
  2.  
  3.                                         SetFolderFlag 1.0
  4.  
  5.                                          by Frédéric RINALDI
  6.  
  7. DESCRIPTION
  8.   SetFileFlag is an XCMD allowing to change the value of the authorized Finder flags of a folder.
  9.  
  10. SYNTAX
  11.       SetFolderFlag <file path or name>,<flag name>[,<flag state>]
  12.  
  13. PARAMETERS
  14.    <file path or name> can be a single name or whole pathname. If just a single name is supplied, the file is assumed to be in the same folder than the current stack.
  15.  
  16.    <flag name> must be one of the following string values (accepted System 7.0 values are enclosed in brackets) :
  17.     busy (hasCustomIcon), System  (nameLocked), invisible (isInvisible)
  18.  
  19.    <flag state> is a boolean defining the desired state of the choosen flag. Default value is TRUE.
  20.  
  21.    Using "!", "?" or "=" as first parameter will return an online help (resp. copyright, syntax and output).
  22.  
  23. ERRORS
  24.    If an error occurs, the XCMD will return in the Result :
  25.      "Error : Not a folder"
  26.      "Error : Alias file not supported"
  27.      "Error : Volume not found"
  28.      "Error : Bad Name"
  29.      "Error : File not found"
  30.      "Error : Folder not found"
  31.      "Error : I/O Error"
  32.      "Error : Volume is locked"
  33.      "Error : AppleShare insufficient privileges"
  34.      "Error : Missing or empty parameter(s)"
  35.      "Error : <Flag state> must be boolean"
  36.      "Error : SetFolderFlag doesn't work on volumes"
  37.      "Error : Bad or unauthorized flag name"
  38.  
  39. HISTORY
  40. 1.0                                                                                         04/09/94
  41. • First public release
  42.  
  43.    This stack also uses SelectDir XFCN, © Frederic RINALDI 1989…1994.
  44. --------------------------------------------------------------------
  45.    All externals included in this stack are FreeWare and may be used in non-commercial software provided the following notice is visibly present :
  46.  
  47.                    SetFolderFlag XCMD, © Frederic Rinaldi, 1994.
  48.  
  49.    Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses:
  50.  
  51. AppleLink: RINALDI1   CalvaCom : FR10    Compuserve : 71170,2111
  52.                Internet : RINALDI1@APPLELINK.APPLE.COM